package com.mcxx.modules.miniSalvation.family.dto;

import com.mcxx.validate.group.Update;
import com.yinhai.ta404.core.validate.annotation.V;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class OrgSupperCheckDTO implements Serializable {
    private static final long serialVersionUID = -1;

    @ApiModelProperty(value = "批量ids")
    private String  ids;
    private Integer operation;
    private String id;

    @ApiModelProperty(value = "机构名称")
    @V(value = {"notnull"},groups = {Update.class})
    private String name;

    @ApiModelProperty(value = "机构简称")
    private String simpleName;

    @ApiModelProperty(value = "机构性质")
    @V(value = {"notnull"},groups = {Update.class})
    private String orgQuality;

    @ApiModelProperty(value = "隶属关系")
    @V(value = {"notnull"},groups = {Update.class})
    private String orgSubj;

    @ApiModelProperty(value = "机构类别")
    @V(value = {"notnull"},groups = {Update.class})
    private String orgSort;

    @ApiModelProperty(value = "机构法人")
    @V(value = {"notnull"},groups = {Update.class})
    private String orgOwner;

    @ApiModelProperty(value = "联系地址")
    @V(value = {"notnull"},groups = {Update.class})
    private String address;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "机构创办资金")
    private Double createFunds;

    @ApiModelProperty(value = "法定代表人证件类型")

    private String cretType;

    @ApiModelProperty(value = "法定代表人证件号码")
    @V(value = {"notnull"},groups = {Update.class})
    private String idCard;
    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "机构创办时间")
    private Date regTime;


}
